/**
 *  Copyright 2013 University Pierre & Marie Curie - UMR CNRS 7606 (LIP6/MoVe)
 *  All rights reserved.   This program and the accompanying materials
 *  are made available under the terms of the Eclipse Public License v1.0
 *  which accompanies this distribution, and is available at
 *  http://www.eclipse.org/legal/epl-v10.html
 *
 *  Initial contributor:
 *    Jean-Luc Amitousa - Thanh Cong - <jeanluc.amitousa.mankoy@gmail.com>
 *
 *  Mailing list:
 *    lom-messan.hillah@lip6.fr
 */
package sdmakerz_v1.coresyntax.io.interfaces;

import java.util.List;

import org.eclipse.emf.ecore.resource.Resource;

import sdmakerz_v1.coresyntax.sDMakerV1.Config;
import sdmakerz_v1.coresyntax.sDMakerV1.Diagram;
import sdmakerz_v1.coresyntax.sDMakerV1.Reference;

public interface ISDMakerIO {
	public String getRootDirNameForInput();
	void changeRootDirNameForInput(String newRootDirName);
	public List<IInputData> allInputs() throws Exception;
	public List<Diagram> findDiagramWithImport(
			Resource input, Reference diagRef) throws Exception;
	public List<Resource> findDiagramInputWithImport(
			Resource input, Reference diagRef) throws Exception;
	public List<Config> findConfigWithImports(
			Resource input, Reference configRef) throws Exception;
}
